<!-- Based on Chat Interface by Florin Pop (2019)
see: https://www.florin-pop.com/blog/2019/04/chat-interface/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Chat Interface</title>
</head>
<body>
<h2>Sarah</h2>
<div class="chat-container">
<ul class="chat">
<li class="message left">
<img
class="avatar"
src="https://randomuser.me/api/portraits/women/17.jpg"
alt=""
/>
<p>Hello, I've found your friend's phone.</p>
</li>
<li class="message right">
<img
class="avatar"
src="https://randomuser.me/api/portraits/men/67.jpg"
alt=""
/>
<p>Which of my friends are you talking about? :-)</p>
</li>
<li class="message left">
<img
class="avatar"
src="https://randomuser.me/api/portraits/women/17.jpg"
alt=""
/>
<p>The one whose name is at the top of your screen right now.</p>
</li>
<li class="message right">
<img
class="avatar"
src="https://randomuser.me/api/portraits/men/67.jpg"
alt=""
/>
<p>Yes, right, of course :-)</p>
</li>
<li class="message left">
<img
class="avatar"
src="https://randomuser.me/api/portraits/women/17.jpg"
alt=""
/>
<p>Can you tell her that I've found her phone?</p>
</li>
<li class="message right">
<img
class="avatar"
src="https://randomuser.me/api/portraits/men/67.jpg"
alt=""
/>
<p>Sure</p>
</li>
<li class="message right">
<img
class="avatar"
src="https://randomuser.me/api/portraits/men/67.jpg"
alt=""
/>
<p>Some girl says she's got your phone.</p>
</li>
</ul>
<input type="text" class="text_input" placeholder="Message..." />
</div>
</body>
</html>